<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  <title>ModelSim Coverage Report</title>
  <!-- original name: _work.decode(behav)ContentFrame1.htm -->
  <link rel="StyleSheet" media="print"  href="../css/ucdb2htmlP.css"/>
  <link rel="StyleSheet" media="screen" href="../css/ucdb2html.css"/>
  <script type="text/javascript" src="../scripts/showhide.js"></script>
</head>
<body id="ucdb2html_detail" onload="showLast()">
  <h1><span class="strip">ModelSim</span> Statement Coverage Report</h1>
  <h3>Scope: /<a href="z000011.htm">work.decode(behav)</a></h3>
  <!-- use script block so buttons vanish when JavaScript is disabled -->
  <script type="text/javascript">
  <!--
  document.write(
    '<table class="buttons" cellspacing="2" cellpadding="2"><tr>' +
       '<td id="showAll" width="100" onclick="showAll()" class="button_on" ' +
           'title="Display all coverage scopes and bins.">Show All</td>' +
       '<td id="showCov" width="100" onclick="showCov()" class="button_off" ' +
           'title="Display only covered scopes and bins.">Show Covered</td>' +
       '<td id="showMis" width="100" onclick="showMis()" class="button_off" ' +
           'title="Display only uncovered scopes and bins.">Show Missing</td>' +
    '</tr></table>');
  //-->
  </script>
  <hr/>
<table cellspacing="0" cellpadding="0" width="93%" class="src"><tr class="neutral"><td class="srcLine"><a name="1"/>1</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"><span class="comment">--&nbsp;$Id:&nbsp;$</td></tr>
<tr class="neutral"><td class="srcLine"><a name="2"/>2</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></span><span class="comment">--&nbsp;File&nbsp;name:&nbsp;&nbsp;&nbsp;decode.vhd</td></tr>
<tr class="neutral"><td class="srcLine"><a name="3"/>3</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></span><span class="comment">--&nbsp;Created:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2/15/2011</td></tr>
<tr class="neutral"><td class="srcLine"><a name="4"/>4</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></span><span class="comment">--&nbsp;Author:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Samuel&nbsp;Oshin</td></tr>
<tr class="neutral"><td class="srcLine"><a name="5"/>5</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></span><span class="comment">--&nbsp;Lab&nbsp;Section:&nbsp;337-02</td></tr>
<tr class="neutral"><td class="srcLine"><a name="6"/>6</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></span><span class="comment">--&nbsp;Version:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.0&nbsp;&nbsp;Initial&nbsp;Design&nbsp;Entry</td></tr>
<tr class="neutral"><td class="srcLine"><a name="7"/>7</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></span><span class="comment">--&nbsp;Description:&nbsp;Decoder&nbsp;for&nbsp;the&nbsp;USB&nbsp;project.</td></tr>
<tr class="neutral"><td class="srcLine"><a name="8"/>8</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></span></td></tr>
<tr class="neutral"><td class="srcLine"><a name="9"/>9</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></td></tr>
<tr class="neutral"><td class="srcLine"><a name="10"/>10</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"><span class="keyword">LIBRARY</span>&nbsp;IEEE;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="11"/>11</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"><span class="keyword">USE</span>&nbsp;IEEE.std_logic_1164.<span class="keyword">ALL</span>;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="12"/>12</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></td></tr>
<tr class="neutral"><td class="srcLine"><a name="13"/>13</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"><span class="keyword">ENTITY</span>&nbsp;decode&nbsp;<span class="keyword">is</span></td></tr>
<tr class="neutral"><td class="srcLine"><a name="14"/>14</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">port</span>(</td></tr>
<tr class="neutral"><td class="srcLine"><a name="15"/>15</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CLK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyattr">IN</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keytype">std_logic</span>;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="16"/>16</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RST_N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyattr">IN</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keytype">std_logic</span>;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="17"/>17</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_PLUS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyattr">IN</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keytype">std_logic</span>;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="18"/>18</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SHIFT_ENABLE:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyattr">IN</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keytype">std_logic</span>;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="19"/>19</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EOP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyattr">IN</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keytype">std_logic</span>;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="20"/>20</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_ORIG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyattr">OUT</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keytype">std_logic</span>&nbsp;);</td></tr>
<tr class="neutral"><td class="srcLine"><a name="21"/>21</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="22"/>22</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"><span class="keyword">end</span>&nbsp;decode;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="23"/>23</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></td></tr>
<tr class="neutral"><td class="srcLine"><a name="24"/>24</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"><span class="keyword">architecture</span>&nbsp;behav&nbsp;<span class="keyword">of</span>&nbsp;decode&nbsp;<span class="keyword">is</span></td></tr>
<tr class="neutral"><td class="srcLine"><a name="25"/>25</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></td></tr>
<tr class="neutral"><td class="srcLine"><a name="26"/>26</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">signal</span>&nbsp;A,B&nbsp;:&nbsp;<span class="keytype">std_logic</span>;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="27"/>27</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">begin</span></td></tr>
<tr class="neutral"><td class="srcLine"><a name="28"/>28</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
<tr class="covered"><td class="srcLine"><a name="29"/>29</td><td class="srcStmt">&nbsp;</td><td class="covGreen">3149</td><td class="srcGreen">&nbsp;&nbsp;&nbsp;&nbsp;stateReg:&nbsp;<span class="keyword">process</span>(clk,RST_N)</td></tr>
<tr class="neutral"><td class="srcLine"><a name="30"/>30</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">begin</span></td></tr>
<tr class="neutral"><td class="srcLine"><a name="31"/>31</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">if</span>&nbsp;(RST_N&nbsp;=&nbsp;'0')&nbsp;<span class="keyword">then</span></td></tr>
<tr class="covered"><td class="srcLine"><a name="32"/>32</td><td class="srcStmt">&nbsp;</td><td class="covGreen">36</td><td class="srcGreen">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A&nbsp;&lt;=&nbsp;'1';</td></tr>
<tr class="covered"><td class="srcLine"><a name="33"/>33</td><td class="srcStmt">&nbsp;</td><td class="covGreen">36</td><td class="srcGreen">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B&nbsp;&lt;=&nbsp;'1';</td></tr>
<tr class="covered"><td class="srcLine"><a name="34"/>34</td><td class="srcStmt">&nbsp;</td><td class="covGreen">36</td><td class="srcGreen">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_ORIG&nbsp;&lt;=&nbsp;'1';</td></tr>
<tr class="neutral"><td class="srcLine"><a name="35"/>35</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">elsif</span>&nbsp;(rising_edge(clk))&nbsp;<span class="keyword">then</span></td></tr>
<tr class="neutral"><td class="srcLine"><a name="36"/>36</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">if</span>(EOP&nbsp;=&nbsp;'1')&nbsp;<span class="keyword">then</span></td></tr>
<tr class="covered"><td class="srcLine"><a name="37"/>37</td><td class="srcStmt">&nbsp;</td><td class="covGreen">32</td><td class="srcGreen">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A&lt;=&nbsp;'1';</td></tr>
<tr class="neutral"><td class="srcLine"><a name="38"/>38</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">elsif</span>(SHIFT_ENABLE&nbsp;=&nbsp;'1')&nbsp;<span class="keyword">then</span></td></tr>
<tr class="covered"><td class="srcLine"><a name="39"/>39</td><td class="srcStmt">&nbsp;</td><td class="covGreen">187</td><td class="srcGreen">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A&lt;=&nbsp;D_PLUS;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="40"/>40</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">end</span>&nbsp;<span class="keyword">if</span>;</td></tr>
<tr class="covered"><td class="srcLine"><a name="41"/>41</td><td class="srcStmt">&nbsp;</td><td class="covGreen">1555</td><td class="srcGreen">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B&nbsp;&lt;=&nbsp;D_PLUS;</td></tr>
<tr class="covered"><td class="srcLine"><a name="42"/>42</td><td class="srcStmt">&nbsp;</td><td class="covGreen">1555</td><td class="srcGreen">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_ORIG&nbsp;&lt;=&nbsp;<span class="keyword">not</span>(A&nbsp;<span class="keyword">xor</span>&nbsp;B);</td></tr>
<tr class="neutral"><td class="srcLine"><a name="43"/>43</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">end</span>&nbsp;<span class="keyword">if</span>;&nbsp;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="44"/>44</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="45"/>45</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">end</span>&nbsp;<span class="keyword">process</span>&nbsp;stateReg;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="46"/>46</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="47"/>47</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"></td></tr>
<tr class="neutral"><td class="srcLine"><a name="48"/>48</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="49"/>49</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm"><span class="keyword">end</span>&nbsp;behav;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="50"/>50</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="51"/>51</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="52"/>52</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
<tr class="neutral"><td class="srcLine"><a name="53"/>53</td><td class="srcStmt">&nbsp;</td><td class="covNorm">&nbsp;</td><td class="srcNorm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
</table>
<!-- statement detail page must load in 'showAll' mode -->
<script type="text/javascript">
  <!--
    window.onload = null;
  // -->
</script>

  <!-- make sure jumps to last few line nos work -->
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
  
</body>
</html>
